From 0113da486895a98525e12e3717ee56d83ebcd7e3 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 30 Apr 2015 22:40:45 -0400 Subject: [PATCH] GtkFileChooser: Use a better busy cursor It is possible to interact with the file chooser while things are loading, so use a cursor that indicates this, if we have one. --- gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 9daf923c3e..46abe23211 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -3454,7 +3454,11 @@ set_busy_cursor (GtkFileChooserWidget *impl, display = gtk_widget_get_display (widget); if (busy) - cursor = gdk_cursor_new_for_display (display, GDK_WATCH); + { + cursor = gdk_cursor_new_from_name (display, "left_ptr_watch"); + if (cursor == NULL) + cursor = gdk_cursor_new_for_display (display, GDK_WATCH); + } else cursor = NULL; -- 2.30.2